import { createApp } from 'vue'
import App from '../Admin.vue'
import '../registerServiceWorker'
import router from '../router/admin'
import store from '../store/admin'
import ElementPlus from 'element-plus';
import 'element-plus/lib/theme-chalk/index.css';
import { StoreKey } from '@/store/common'

async function main() {
    //await router.isReady();
    createApp(App).use(store,StoreKey.Admin).use(ElementPlus).use(router).mount('#app')
}
main().then(()=>{
    console.log("admin page on-line")
})

